#pragma once
#include <vector>
#include "porttype.h"
#include "IoInfor.h"


class CPortRS232 : public CPortType
{
public:
	CPortRS232(void);
	~CPortRS232(void);
public:
	bool SetIOs(CXMLElement *pIOs);
public:
	int port_id;//="1" 
	int in_queue;//="4096" 
	int out_queue;//="4096" 
	int baud_rate;//="38000" 
	int data_bit;//="8" 
	int stop_bit;//="1" 
	int parity;//="0" 
	DWORD timeout;//="300"
	std::vector<CIoInfor*> m_io;
};
